<template>
	<view class="flone">
		<flone class="flonet" v-for="(item,index) in infoone" :item="item" ></flone>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				id:'',
				infoone:[]
			}
		},
		async onLoad(option){
			console.log("option",option)
			this.id=option
			this.shangping()
		},
		methods: {
			shangping(){
				let url = `/1.1/classes/bscs?where={"classs":"${this.id.id}"}`
				// let data={where:{bcid:this.id.id}}
				this.$get(url).then(res =>{
					this.infoone=res.results
					console.log(this.infoone)
				})
			}
		}
	}
</script>

<style>
.flone{
	width: 100%;
	margin: 0 auto;
	
}
.flonet{
	
	/* border:1px solid black; */
}
</style>
